Revert "libelf: treat phdr and shdr similarly"
authorJan Beulich <jbeulich@suse.com>
Thu, 8 Dec 2016 15:41:12 +0000 (16:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 8 Dec 2016 15:41:12 +0000 (16:41 +0100)
commit3f916247afc3ed8f1ba4c1bc248eaaa7afe962d8
treec8f6e826f95f5a5d7e32018169086e7d0107005c
parentf5b9217531dac37451845cd83dfd30e4cc1053b4
Revert "libelf: treat phdr and shdr similarly"

This reverts commit a01b6d464f05dadf28bfd38612283bd1848f1350
as needing further adjustment (namely to properly avoid a
divide by zero issue spotted by Coverity and reported by
Andrew).
xen/common/libelf/libelf-loader.c
xen/common/libelf/libelf-tools.c